﻿import com.dmotiko.general.*;
import com.dmotiko.meip.*
import flash.external.ExternalInterface;
import mx.transitions.easing.Regular;
import mx.transitions.Tween;
import mx.utils.Delegate;
/**
 * ...
 * @author sminutoli
 */
 
class com.dmotiko.meip.FooterClip extends BaseClip
{
		
	public function moveY(nMove) {
		registerTween( "moveY", new Tween( this, "_y", Regular.easeOut, this._y, nMove, 0.5, true), false, false, true);
	}
	
	private function tweenChanged(key:String, tween:Tween):Void {
		if ( key == "moveY" ) {
			ExternalInterface.call("setWindowSize", Math.round(this.getBounds( _root ).yMax - 20) );
		}
	}
	
}